/**
 * Copyright(c) 2014 Xunton Solutions
 *
 * History:
 *   15-9-24 下午4:28 Created by dwzhang
 */
package com.jade.bss.weixin.api.bonus.protocol;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import com.jade.bss.weixin.api.protocol.xml.Request;

/**
 * 查询红包接口，支持现金红包和裂变红包。
 *
 * @author <a href="mailto:dwzhang@xunton.com">dwzhang</a> 
 * @version 1.0 15-9-24 下午4:28
 */
@XmlRootElement (name = "xml")
@XmlAccessorType (XmlAccessType.FIELD)
public class QueryRedPackRequest
        extends Request
{
    @XmlElement (name = "mch_billno")
    private String mchBillNo;
    @XmlElement (name = "bill_type")
    private String billType = "MCHT";

    public String getMchBillNo()
    {
        return mchBillNo;
    }

    public void setMchBillNo(String mchBillNo)
    {
        this.mchBillNo = mchBillNo;
        putParam("mch_billno", mchBillNo);
    }

    public String getBillType()
    {
        return billType;
    }

    public void setBillType(String billType)
    {
        this.billType = billType;
        putParam("bill_type", billType);
    }
}
